var result = 0;
for(var i= 1;i<=100;i++){
    /*
    if(i%2 !== 0){
        continue;
    }
    result += i;
    */

    if(i%2 == 0){
        result += i;
    }
}
console.log("1~100累加之和",result);
